#ifndef __MENU_H
#define __MENU_H

#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>

#define GUI_VERSION "1.33"

typedef struct {
    SDL_Renderer *renderer;
    SDL_Texture	*arrows_icon_Texture[2];
    SDL_Texture	*background_correction_Texture;
    SDL_Texture	*Compass_arrow_icon_Texture;
    SDL_Texture	*Compass_Calibration_icon_Texture;
    SDL_Texture	*Compass_icon_Texture;
    SDL_Texture	*image_brightness_icon_Texture;
    SDL_Texture	*left_arrow_icon_Texture[2];
    SDL_Texture	*right_arrow_icon_Texture[2];
    SDL_Texture	*long_focus_icon_Texture;
    SDL_Texture	*long_line_icon_Texture[2];
    SDL_Texture	*motion_sensor_left_icon_Texture;
    SDL_Texture	*motion_sensor_right_icon_Texture;
    SDL_Texture	*top_menu_line_icon_Texture;
    SDL_Texture	*Warning_Texture;
    /* engineering */
    SDL_Texture	*cal_status_Texture[3];
    TTF_Font *tft_font;
} icon_normal_t;

void update_icon_normal(icon_normal_t *menu, void *pso);
void update_icon_mainmenu1(icon_normal_t *menu, void *pso);
void update_icon_image(icon_normal_t *menu, void *pso);
void update_icon_image_adjust(icon_normal_t *menu, void *pso);
void update_icon_image_setting(icon_normal_t *menu, void *pso);
void update_icon_camera_setting(icon_normal_t *menu, void *pso);
void update_icon_WB_setting(icon_normal_t *menu, void *pso);
void update_icon_reticle(icon_normal_t *menu, void *pso);
void update_icon_cross_color_setting(icon_normal_t *menu, void *pso);
void update_icon_gun_cal(icon_normal_t *menu, void *pso);
void update_icon_nine_axis_setting(icon_normal_t *menu, void *pso);
void update_icon_system(icon_normal_t *menu, void *pso);
void update_icon_language(icon_normal_t *menu, void *pso);
void update_icon_compass_cal(icon_normal_t *menu, void *pso);
void update_icon_factory_reset(icon_normal_t *menu, void *pso);
void update_icon_ver_info(icon_normal_t *menu, void *pso);
void update_icon_engineering_update(icon_normal_t *menu, void *pso);

#endif